package com.woniu.microassetserver.service;

import com.github.pagehelper.PageInfo;
import com.woniu.microcommonsserver.entity.PrincipalEntity;

public interface PrincipalService {
    /**
     * 根据参数进行分页查询
     * @param principalEntity
     * @return
     * @author luoyue
     */
    PageInfo<PrincipalEntity> findAllByParams(int pageNum, int pageSize, PrincipalEntity principalEntity);
}
